package com.ccf.business.knowledge.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.common.utils.tool.UserUtil;
import com.common.model.pojo.DelFlag;
import com.service.mybatis.pojo.FlagEntity;
import com.service.mybatis.pojo.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;


/**
 * 标注任务
 *
 * @author ccf
 * @date 2022-02-15 16:56:10
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@TableName("kcs_label_task")
@ApiModel(value="kcs_label_task对象", description="标注任务")
public class LabelTask extends FlagEntity {
    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "任务名称")
    private String name;

    public static final int WAIT = 0;
    public static final int TAGGING = 1;
    public static final int AUDIT = 2;
    public static final int COMPLETE = 3;
    @ApiModelProperty(value = "状态（0待下发，1标注中，2审核中，3已完成）")
    private Integer status;

    public static final String ENTITY = "entity";
    public static final String RELATION = "relation";
    @ApiModelProperty(value = "标注类型,实体标注：entity;关系标注：relation")
    private String labelType;

    public static final String AVG = "avg";
    public static final String COMMON = "common";
    @ApiModelProperty(value = "标注方式:均分标注：avg 共同标注：common")
    private String labelWay;

    @ApiModelProperty(value = "描述")
    private String remark;



}
